import home from '@/pages/home'
import login from '@/pages/login'
import register from '@/pages/register'
import search from '@/pages/search'
import detail from '@/pages/Detail'
export default
    [
        {path : "/detail",
         component:detail,
         name:"detail",
         meta:{show:false}
        },
        {path : "/home",
         component:home,
         name:"home",
         meta:{
                // show:true
                // show:ture
         }
        },
        {path: "/login",
         component:login,
         name:"login",
        //  meta:{show:false}    
        },
        {path : "/register",
         component:register,
         name:"register",
        //  meta:{show:false}    
        },
        {path : "/search/:keyword?",
         component:search ,
         name:"search",
        //  meta:{show:ture}   
        },
        {path : "*",
         redirect:'/home'  
        }
]
